import request from "@/utils/request.js";
import api from "@/api/index.js";

/**
 * 系统日志的分页查询
 * @param data
 * @returns {*}
 */
export const reqSysLogPage=(data)=>{
    return request({
        url:api.reqSysLogPageURL,
        method:'GET',
        params:data
    })
}

/**
 * 系统日志的批量删除
 * @param data
 * @returns {*}
 */
export const reqSysLogRemoveBatch=(data)=>{
    return request({
        url:api.reqSysLogRemoveBatchURL,
        method:'POST',
        data
    })
}

/**
 * 清空系统日志
 * @param data
 * @returns {*}
 */
export const reqSysLogClearAll=(data)=>{
    return request({
        url:api.reqSysLogClearAllURL,
        method:'POST',
        data
    })
}
